package com.core.pojo.SeatReservation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.core.pojo.SeatReservation.Enum.SeatDailyStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 每日座位状态实体类
 * 对应表: daily_seat_status
 */
@Data
@EqualsAndHashCode
@TableName("daily_seat_status")
public class DailySeatStatus implements Serializable {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 座位ID
     */
    private Long seatId;

    /**
     * 日期
     */
    private LocalDate date;

    /**
     * 座位当日状态(AVAILABLE, OCCUPIED)
     */
    private SeatDailyStatusEnum status;

    /**
     * 关联预约ID
     */
    private Long reservationId;


}